{include file='header.html'}
<ul class="nav nav-tabs">
<li {if get('op') eq ''}class="active"{/if}><a href="{$appadmin}?m=admin&a=permission">{$lang.permission_admin}</a> </li>
<li {if get('op') eq 'add'}class="active"{/if}><a href="{$appadmin}?m=admin&a=permission&op=add">{$lang.permission_add}</a></li>
<li {if get('op') eq 'saveonfig'}class="active"{/if}><a href="{$appadmin}?m=admin&a=permission&op=saveconfig">{$lang.permission_write}</a></li>
</ul>

<div class="rbox">

<table  class="table table-bordered">
  <tr>
    <td width="4%" align="center">ID</td>
    <td width="16%" align="center">{$lang.name}</td>
    <td width="10%" align="center">m</td>
  
    <td width="40%" align="center">{$lang.permission}</td>
    <td width="20%" align="center">{$lang.operation}</td>
  </tr>
  {foreach item=c from=$data}
  <tr>
    <td align="center">{$c.id}</td>
    <td align="center">{$c.title}</td>
    <td align="center">{$c.m}</td>
     
    <td align="center">{$c.access}</td>
    <td align="center"> <a href="{$appadmin}?m=admin&a=permission&op=add&id={$c.id}">{$lang.edit}</a> <a href="javascript:;" class="del" url="{$appadmin}?m=admin&a=permission&op=delete&id={$c.id}">{$lang.delete}</a></td>
  </tr>
  {/foreach}
  
</table>
 
</div>

{include file='footer.html'}